package com.ruoyi.system.domain.aid;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 系统通知对象 aid_notification
 */
public class AidNotification extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 通知ID */
    private Long notificationId;

    /** 通知标题 */
    @Excel(name = "通知标题")
    private String title;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String content;

    /** 通知类型（1系统通知 2需求通知 3捐赠通知 4接收通知） */
    @Excel(name = "通知类型", readConverterExp = "1=系统通知,2=需求通知,3=捐赠通知,4=接收通知")
    private String type;

    /** 接收者ID */
    @Excel(name = "接收者ID")
    private Long receiverId;

    /** 读取状态（0未读 1已读） */
    @Excel(name = "读取状态", readConverterExp = "0=未读,1=已读")
    private String readStatus;

    public void setNotificationId(Long notificationId) {
        this.notificationId = notificationId;
    }

    public Long getNotificationId() {
        return notificationId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    public Long getReceiverId() {
        return receiverId;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public String getReadStatus() {
        return readStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("notificationId", getNotificationId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("type", getType())
            .append("receiverId", getReceiverId())
            .append("readStatus", getReadStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
} 